.search-bar {
  padding: 12px 16px;
  background: #f6f7f9;
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  .cancel {
    display: inline-block;
    font-size: 15px;
    color: #262626;
    line-height: 21px;
    margin-left: 16px;
    min-width: 32px;
  }
  .search-input {
    display: inline-block;
    border-radius: 8px;
    background: #fff;
    height: 36px;
    width: 100%;
    text-indent: 34px;
    font-size: 15px;
    color: #262626;
    caret-color: #3972f9;
    line-height: 20px;
    &::placeholder {
      color: #c7cbd5;
    }
  }
  .search-icon {
    font-size: 16px;
    line-height: 16px;
    color: #c7cbd5;
    position: absolute;
    top: 50%;
    left: 28px;
    transform: translateY(-50%);
  }

  input {
    background: none;
    outline: none;
    border: none;
    display: inline-block;
  }
  input:focus {
    border: none;
  }
}
.has-focus {
  .search-input {
    width: 297px;
  }
}

.close-icon {
  font-size: 20px;
  line-height: 20px;
  position: absolute;
  top: 20px;
  right: 74px;
  color: #c7cbd5;
}
